package com.learn.hibernatevalidator.chapter03.inheritance.returnvalue;


import jakarta.validation.constraints.Size;

import java.util.List;

/**
 * @author: liyf
 * @create: 2025-01-01 22:07
 **/
public class Car implements Vehicle {

    @Override
    @Size(min = 1)
    public List<Person> getPassengers() {

        return null;
    }
}
